<?php
	
	/**
	 * Standard pagination item renderrer
	 * 
	 * @package Pagination
	 * @author Perkin Anton, Rostislav Rotaru
	 * @version 3.0
	 *
	 */
	class StandardPaginationItem extends PaginationItemBase 
	{
		
		/**
		 * Base function that parses the item
		 * 
		 * @param $name item name
		 * @param $item item
		 * 
		 * @return string rendered html
		 */
		public function Render($name, $item)
		{
			return '<a '.$item['page_link_attributes'].' class = "pagination_button '.$item['css_class'].'">'.$name.'</a>';
		}
	}

?>